package JsonInterface.test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class T7 {
    public static void main(String[] args) {
        String[] s= {"0xfe","0x1a2b"};
        String s2 = "1a2b";
        String s3 = "0x" + s2;
        Integer decode = Integer.decode(s3);
        System.out.println(decode);



        /*List<Integer> list = new ArrayList<>();
        for (String string : s) {
            Integer decode = Integer.decode(string);
            list.add(decode);
        }*/
        //System.out.println(list);
    }
}
